﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using schedulelist.ORM.domain;
namespace schedulelist.ORM.mapping
{
    public class CustomerMap : ClassMap<Customer>
    {
        public CustomerMap()
        {
            Table("customer");
            Id(x => x.Id).GeneratedBy.Native();
            Map(x => x.name);
            Map(x => x.priority);
            Map(x => x.contacts);
        }
    }
}
